<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <?php $route = $sf_context->getRouting()->getCurrentRouteName(); ?>
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
    <link href="/css/mestro.css" rel="stylesheet" type="text/css" />
    <link href="/css/form.css" rel="stylesheet" type="text/css" />
    <link href="/fonts/stylesheet.css" rel="stylesheet" type="text/css" />

    <!-- jQuery -->
    <script type="text/javascript" src="/js/jquery/1.8.2/jquery.min.js"></script>
    <!-- jQuery UI -->
    <script type="text/javascript" src="/js/jquery/jquery-ui-1.9.2/js/jquery-ui-1.9.2.custom.min.js"></script>

    <link rel="stylesheet" type="text/css" href="/css/banner_style.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/css/mestro_style.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/css/training.css" media="screen" />
    <link href="/css/products.css" rel="stylesheet" type="text/css" />
    <link href="/css/login.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/css/contact.css" media="screen" />

    <?php if ($route == 'courses') : ?>
    <script>
      $(function() {
        $( "#tabs" ).tabs({active: <?php $c = $sf_request->getParameter('c', 1); $c = ($c > 4) ? 4 : $c; echo $c-1; ?>}).addClass( "ui-tabs-vertical ui-helper-clearfix" );
        $( "#tabs li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" );
      });
    </script>
    <?php endif; ?>
  </head>
  <body>
    <div id="wrap">
      <?php echo include_component('home', 'header'); ?>
      <?php echo $sf_content ?>
      <?php echo include_component('home', 'footer'); ?>
    </div>
    <script type="text/javascript" src="/js/jquery.min.js"></script>
    
    <?php if ($route == 'home') : ?>
    <!-- jQuery KenBurn Slider  -->
    <script type="text/javascript" src="/js/jquery.mestro.plugins.min.js"></script>
    <script type="text/javascript" src="/js/jquery.mestro.revolution.min.js"></script>
    <?php endif; ?>
    <script type="text/javascript">
      var tpj=jQuery;
      tpj.noConflict();
            
      <?php if ($route == 'home') : ?>
      tpj(document).ready(function() {
            
        if (tpj.fn.cssOriginal!=undefined)
          tpj.fn.css = tpj.fn.cssOriginal;
    
        tpj('.fullwidthbanner').revolution(
        { 
          delay:10000,                        
          startwidth:890,
          startheight:550,
                  
          onHoverStop:"off",            // Stop Banner Timet at Hover on Slide on/off
                  
          thumbWidth:100,             // Thumb With and Height and Amount (only if navigation Tyope set to thumb !)
          thumbHeight:50,
          thumbAmount:3,
                  
          hideThumbs:200,
          navigationType:"none",          //bullet, thumb, none, both  (No Shadow in Fullwidth Version !)
          navigationArrows:"verticalcentered",    //nexttobullets, verticalcentered, none
          navigationStyle:"square",       //round,square,navbar
                  
          touchenabled:"on",            // Enable Swipe Function : on/off
                  
          navOffsetHorizontal:0,
          navOffsetVertical:20,
                  
          fullWidth:"on",
                  
          shadow:0,               //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows -  (No Shadow in Fullwidth Version !)
                  
          stopLoop:"off"              // on == Stop loop at the last Slie,  off== Loop all the time.
                                
        });   
      });
      <?php endif; ?>
    </script>
  </body>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
</html>